import { https } from '../utils/https'
import type { GoodsResult } from '../types/goods'
// 获取商品详情信息
export const getHomeBannerApi = (id: string) => {
  return https<GoodsResult>({
    method: 'GET',
    url: '/goods',
    data: {
      id,
    },
  })
}
